import '@ant-design-vue/pro-layout/dist/style.css';
import 'ant-design-vue/dist/antd.variable.min.css';
import { ConfigProvider } from 'ant-design-vue';
import ProLayout, { PageContainer } from '@ant-design-vue/pro-layout';
import router from './router';
import App from '@/App.vue';

import dayjs from 'dayjs';
import utc from 'dayjs/plugin/utc'
import timezone from 'dayjs/plugin/timezone'
import 'dayjs/locale/zh-cn' // 导入本地化语言
import { VueSocket } from './common/VueSocket';
import { VueAxios } from './common/VueAxios';
dayjs.extend(utc)
dayjs.extend(timezone)
dayjs.locale('zh-cn')

createApp(App)
    .use(VueSocket)
    .use(VueAxios)
    .use(router)
    .use(ConfigProvider)
    .use(ProLayout)
    .use(PageContainer)
    .mount('#app');
